package com.houpu.service;

import com.houpu.dao.ProductMapper;
import com.houpu.pojo.Product;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductService {
    @Autowired(required = false)
    private ProductMapper productMapper;

    public List<Product> get_Eara(String p_name){
        return productMapper.selectEara(p_name);
    }
}
